package com.yjy.fxkj.factory.rs485;

import com.yjy.fxkj.factory.RS485AbstractFactory;
import com.yjy.fxkj.product.rs485.BatteryRS485Dev;
import com.yjy.fxkj.product.rs485.CameraRS485Dev;
import com.yjy.fxkj.product.rs485.PowerRS485Dev;

public class RS485Creator extends RS485AbstractFactory {
    @Override
    public PowerRS485Dev createPowerDev() {
        return new PowerRS485Dev();
    }

    @Override
    public CameraRS485Dev createCameraDev() {
        return new CameraRS485Dev();
    }

    @Override
    public BatteryRS485Dev createBatteryDev() {
        return new BatteryRS485Dev();
    }
}
